sum1 = 0
sum2 = 0
list_value = [1,2,18,7,33,22,1045,98,78,36,10,111,105,4320,1014,
              50,63,15,18,910,2010,3201,2501,25,120,320]
for n in list_value:
    if n%2 == 0:
        sum2 += 1
    else:
        sum1 += 1
print(f"偶数公有{sum2}个",f"奇数有{sum1}g个")